package com.ruoyi.healthCard.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 健康证发放对象 t_biz_cert_distribution
 * 
 * @author ruoyi
 * @date 2025-06-27
 */
public class TBizCertDistribution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发放 ID */
    private Long distId;

    /** 健康证 ID */
    @Excel(name = "健康证 ID")
    private Long certId;

    /** 领取人 */
    @Excel(name = "领取人")
    private String receivePerson;

    /** 领取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receiveTime;

    /** 领取方式 */
    @Excel(name = "领取方式")
    private String receiveMethod;

    public void setDistId(Long distId) 
    {
        this.distId = distId;
    }

    public Long getDistId() 
    {
        return distId;
    }

    public void setCertId(Long certId) 
    {
        this.certId = certId;
    }

    public Long getCertId() 
    {
        return certId;
    }

    public void setReceivePerson(String receivePerson) 
    {
        this.receivePerson = receivePerson;
    }

    public String getReceivePerson() 
    {
        return receivePerson;
    }

    public void setReceiveTime(Date receiveTime) 
    {
        this.receiveTime = receiveTime;
    }

    public Date getReceiveTime() 
    {
        return receiveTime;
    }

    public void setReceiveMethod(String receiveMethod) 
    {
        this.receiveMethod = receiveMethod;
    }

    public String getReceiveMethod() 
    {
        return receiveMethod;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("distId", getDistId())
            .append("certId", getCertId())
            .append("receivePerson", getReceivePerson())
            .append("receiveTime", getReceiveTime())
            .append("receiveMethod", getReceiveMethod())
            .append("remark", getRemark())
            .toString();
    }
}
